package com.zeroone.star.publish.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zeroone.star.project.dto.PageDTO;
import com.zeroone.star.publish.entity.Volunteer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author car
 * @since 2024-03-02
 */
public interface IVolunteerService extends IService<Volunteer> {

    Integer addVolunteer(Volunteer volunteer);

    Volunteer modifyVolunteer(Volunteer volunteer);

    Integer deleteVolunteer(Integer id);

    Volunteer selectVolunteerById(Integer id);

    List<Volunteer> selectAllVolunteer();

    List<Volunteer> selectOwnAllVolunteer(String uid);

    IPage<Volunteer> selectByPageLikeContent(String content, Integer pageIndex);


}
